#!/bin/bash
dist=~/Desktop/dist
CGO_ENABLED=1 GOARCH=amd64 GOOS=darwin go build -ldflags "-s -w" -o $dist/web ./app/main.go
cp -R config $dist/config
cp -R db $dist/db
cp -R html $dist/html
cp web.command $dist/web.command